#include<iostream>

using namespace std;

template<typename T>
T func(T& x1, const T& x2) {
	return x1 + x2;
}
int main() {
	int x = 1;
	double y = 2.0;
	int res=func<int>(x, y);
	cout << res << endl;
	return 0;
}

